<template>
  <div>v3-about--<button @click="tiao">跳转到home</button></div>
</template>

<script setup>
import { useRouter } from "vue-router";
const router = useRouter();
const tiao = () => {
  // router.push({ path: "/home", query: { id: 1 } });
  router.push({ name: "home", params: { id: 100 } });
};
</script>

<style scoped></style>
